<template>
  <li class="hello">
    <h1>{{ name }}</h1>
  </li>
</template>

<script lang="ts">
import { Options, Vue } from 'vue-class-component';

import { getCurrentInstance,ref } from 'vue';


@Options({
  props: {
    name: String,
    sex: Number
  }
})
export default class todoItem extends Vue {
  name!: string
  sex!: number
  setup(){
    console.log(11188888888)
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="less">
h3 {
  margin: 40px 0 0;
}
ul {
  list-style-type: none;
  padding: 0;
}
li {
  display: inline-block;
  margin: 0 10px;
}
a {
  color: #42b983;
}
</style>
